-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix running 'wheelhouse' test script on Travis CI #168
Conversation
Robert's collection and Nikola's wheelhouse are both extinct
@njsmith: this change would have the CI hitting your vorpus.org server - the code was there before, but commented out. I'd like your approval before merging it. @rmcgibbo: your 'wheelhouse' at stanford.edu is no longer available. Let me know if you have the same files at some other URL. I don't think this is high priority, so don't spend energy on it, but if it's just a case of tweaking the URL, we can do that. |
I don't have those files anymore (Stanford took down my webspace a couple months after I graduated), but they weren't anything special. |
@takluyver: from these these travis logs from 3 years ago, it looks to me like the tests were covering wheels from |
Thanks! Do you think it's worth re-creating some more tests with real-world wheels, or is it more a nice-to-have alongside the main test suite? I wanted to make sure that whatever's there is running effectively, but I don't know how important it is. |
# Download some more wheels that Robert made | ||
URL=http://stanford.edu/~rmcgibbo/wheelhouse/ | ||
curl --silent $URL | grep 'a href' | grep whl | cut -d ' ' -f 8 | cut -d '=' -f 2 | cut -d '"' -f 2 | xargs -n1 -I '{}' wget -P wheelhouse-rmcgibbo "$URL/{}" -nc | ||
URL=https://vorpus.org/~njs/tmp/manylinux-test-wheels/original/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not include these wheels in the source repo instead? We already have a few under the tests directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't want to clutter up the source repo with various multi-MB wheels; large binary files are a bit awkward to handle in git. This test can also easily be expanded to many more wheels, e.g. I saw this scikit-learn wheelhouse linked from #86.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One way not to clutter up the source repo with various multi-MB wheels would be to use git-lfs
.
This should fix #142. We should also remove the |
The latest commit removes the I'm in two minds about this. On the one hand, it could be a flaky test, as it relies on downloading extra files. But then I don't think In any case, I'd still like an OK from @njsmith before we merge this, because it will hit his server. |
Well, I think that's the main question here. I don't know if it's important either... Were those tests added to cover a feature, bug, in the past, I can't say looking at the history... |
I added those tests, but it was 3 years ago so I don't remember my exact train of thought. Generally though, at that time this project was something I was just hacking on. I don't think it was an official pypa project, I don't think that the first manylinux pep had yet been merged (it was probably under discussion), and it wasn't clear whether this software would even fill the intended use case. There wasn't really a "main test suite". I think I basically figured "if I can process some random wheels that I found on the internet, then it's probably working, and that's easier than investing in writing a bunch of unit tests right now" So... real-world tests are always great. But I'd recommend making the decision on whether or not to include tests like this based on your current assessment of the coverage of the test suite, not some no-longer-applicable-determination I made three years ago when this was a solo hobby project that I was hacking on while procrastinating on my dissertation. |
Given what @rmcgibbo said it might not be useful to try to fix these tests with the same wheels. The
If we keep the wheel I still think that we should store them in the source repo. pip does this too and it seems to be working just fine. |
Now we've got coverage measurement set up and we can see we're exercising most of the code already, I think I'm comfortable with removing the wheelhouses script, and #179 does that. |
#179 has been merged instead of this. |
This is an allowed failure, but so long as it's there, it might as well work.